package com.sys.gradepaysys.service;


import com.sys.gradepaysys.model.Clazz;
import com.sys.gradepaysys.model.Grade;
import com.sys.gradepaysys.model.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {
    Student login(String username, String password);
    List<Grade>getAllGrade();
    List<Clazz>getAllClazz(String gid);
    boolean registerStu(Student student);

    List<Map<String, String>> getStuOneList(String sid);

    boolean updatePwd(String password, String sid);

    List<Clazz> selectClazzByGid(String cid,String grade, String clazz);

    Student getUserByName(String username);

}
